<?php 
header("content-type:text/html;charset=utf-8");
$id=isset($_GET['id'])?$_GET['id']:'';
$dsn="mysql:host=127.0.0.1;dbname=zice;charset=utf8";
$db=new PDO($dsn,'root','root');
$sql="select * from user where id='$id'";
$data=$db->query($sql)->fetch(PDO::FETCH_ASSOC);
include "upd.html";








 ?>